<?php


namespace app\api\model;


use EasyWeChat\Factory;
use GuzzleHttp\Client;

class Wxconfig
{

    public static function init()
    {
        $config = [
            'corp_id' => 'ww377c91a81493c595',

            'agent_id' => 1000011, // 如果有 agend_id 则填写
            'secret'   => 'zTaBypRVRipVmyqdquF_KH7f1PFGmqpu1aSH3dAQ4E0',

            // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
            'response_type' => 'array',

            'log' => [
                'level' => 'debug',
                'file' => __DIR__.'/wechat.log',
            ],
        ];
    }
}
